package cn.pjz.domain;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author 阿洲
 */
@Getter
@Setter
@TableName("bill")
@ApiModel(value = "bill对象", description = "")
public class Bill {


    @ApiModelProperty("主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableId("bill_id")
    @ApiModelProperty("单位ID")
    private Long billId;

    @TableId("name")
    @ApiModelProperty("货品名称")
    private String name;

    @TableId("number")
    @ApiModelProperty("货品数量")
    private int number;

    @TableId("univalence")
    @ApiModelProperty("单价")
    private int unitPrice;

    @ApiModelProperty("总价")
    private int totalPrice;

    @TableId("unit_id")
    @ApiModelProperty("单号id")
    private Long  unitId;

    @TableId("date")
    @ApiModelProperty("日期")
    private String date;

    @TableId("type")
    @ApiModelProperty("总状态")
    private int type;


}
